//
//  YuBlueButton.m
//  HuLaQuan
//
//  Created by hok on 1/14/16.
//  Copyright © 2016 Jianghao. All rights reserved.
//

#import "YuBlueButton.h"

@implementation YuBlueButton
- (id)initWithCoder:(NSCoder *)aDecoder
{
    self = [super initWithCoder:aDecoder];
    
    if (self) {
        [self setup];
        
        self.backgroundColor = UIColorFromRGBA(0x028ce6, 1.0);
        
       
    }
    return self;
}

- (void) setHighlighted:(BOOL)highlighted {
    [super setHighlighted:highlighted];
    
    if (highlighted) {
        self.backgroundColor = UIColorFromRGBA(0x03756f,1.0);
    }
    else {
        self.backgroundColor = UIColorFromRGBA(0x028ce6, 1.0);
    }
}
@end
